import 'package:flutter/material.dart';

class PersonalCenter extends StatefulWidget {
  final arguments;

  PersonalCenter({this.arguments});

  @override
  PersonalCenterState createState() {
    return PersonalCenterState(arguments: arguments);
  }
}

class PersonalCenterState extends State<PersonalCenter> {
  final arguments;

  PersonalCenterState({this.arguments});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: new Text('Flutter App'),
        ),
        body: Text(arguments["name"]),
        floatingActionButton: FloatingActionButton(
          child: Text("返回"),
          onPressed: () {
            Navigator.of(context).pop();
          },
        ),
      ),
    );
  }
}
